package com.example.bff.driver.config;

import cn.dev33.satoken.stp.StpInterface;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @BelongsProject: hxds
 * @BelongsPackage: com.example.bff.driver.config
 * @Author: caohaoran
 * @CreateTime: 2025-10-20  00:12
 * @Description: TODO
 * @Version: 1.0
 */
@Component
public class StpInterfaceImpl implements StpInterface {

    /*
     * @description:返回某个用户所拥有的权限集合
     * @author: caohaoran
     * @date: 2025/10/20 0:13
     * @param: null null
     **/
    @Override
    public List<String> getPermissionList(Object loginId, String loginKey) {
        ArrayList<String> list = new ArrayList<>();
        return list;
    }

    /*
     * @description:返回某个用户所拥有的角色标识集合
     * @author: caohaoran
     * @date: 2025/10/20 0:16
     * @param: o
     * @param: s List<String>
     **/
    @Override
    public List<String> getRoleList(Object loginId, String loginKey) {
        ArrayList<String> list = new ArrayList<>();
        return list;
    }
}
